package com.bxd.baodan.item;

import java.util.List;

/**
 * Created by lizhichao on 17/9/13.
 */

public class FamDesignBean {
    /**
     * code : 0
     * tips :
     * msg :
     * data : {"report":{"step0":{"title":"您的家庭成员有（可多选）","form":["family_member"]},"step1":{"title":"您的基本信息","form":["gender","age"]},"step2":{"title":"您的职业收入","form":["career","personal_annual_income"]},"step3":{"title":"您的生活状态","form":["life_tag"]},"step4":{"title":"您的保障情况","form":["have_social_insurance","have_business_insurance","business_insurance_life","business_insurance_serious","business_insurance_accident","business_insurance_medical","business_insurance_pension","business_insurance_education"]},"step5":{"title":"您的家庭收支","form":["family_annual_income","family_month_spending","family_month_alimony","family_loan"]},"step6":{"title":"您的教育计划","form":["education_plan"]}},"condition":{"gender":{"type":"radio","value":[{"params":"male","name":"男"},{"params":"female","name":"女"}],"name":"您的性别","content":"男女分工和所承担责任不同，风险及压力有区别"},"age":{"type":"select","value":{"min":0,"max":120},"name":"您的年龄","content":"不同年龄面对的风险不同，投保策略要做区别"},"career":{"type":"select","value":[{"params":"1","name":"室内轻体力（如行政,管理人员）"},{"params":"2","name":"室内重体力（如程序员）"},{"params":"3","name":"户外简单工作（如，司机，导游等）"},{"params":"4","name":"户外复杂工作（如，工程师，建筑工人等）"},{"params":"5","name":"室内制造业（装修,流水线工人）"},{"params":"6","name":"个体工商户"},{"params":"7","name":"自由职业"},{"params":"8","name":"务农"},{"params":"9","name":"在校学生"},{"params":"10","name":"家庭主妇/男"},{"params":"11","name":"其他"}],"name":"您的职业","content":"不同职业风险不同"},"personal_annual_income":{"type":"text","name":"您的年收入（单位万元）","content":"根据收入进行保费支出及保障类型规划"},"life_tag":{"type":"checkbox","value":[{"params":"1","name":"经常出差"},{"params":"2","name":"忙于应酬"},{"params":"3","name":"过度加班"},{"params":"4","name":"久坐不动"},{"params":"5","name":"经常抽烟"},{"params":"6","name":"经常喝酒"},{"params":"7","name":"自驾出行"},{"params":"8","name":"喜欢旅游"},{"params":"9","name":"过度肥胖"}],"name":"您的生活标签（可多选）","content":"生活标签会影响您的风险指数"},"have_social_insurance":{"type":"radio","value":[{"params":"have","name":"有社保"},{"params":"no","name":"无社保"}],"name":"您的社会保险","content":""},"have_business_insurance":{"type":"radio","value":[{"params":"have","name":"有"},{"params":"no","name":"无"}],"name":"您的其他保险","content":"通过已有的保障来计算保障缺口"},"business_insurance_life":{"type":"text","name":"人寿保险保额","content":""},"business_insurance_serious":{"type":"text","name":"重疾保险保额","content":""},"business_insurance_accident":{"type":"text","name":"意外保险保额","content":""},"business_insurance_medical":{"type":"text","name":"医疗保险保额","content":""},"business_insurance_pension":{"type":"text","name":"养老保险保额","content":""},"business_insurance_education":{"type":"text","name":"教育金","content":""},"family_member":{"type":"checkbox","value":[{"params":"spouse","name":"配偶"},{"params":"child","name":"子女"},{"params":"father","name":"父亲"},{"params":"mother","name":"母亲"},{"params":"my","name":"本人"}],"name":"您的家庭成员","content":"投保是家庭行为，规划保险须将所有家庭成员视为一个整体，并考虑成员在家中扮演的角色"},"family_annual_income":{"type":"text","name":"家庭年收入","content":""},"family_month_spending":{"type":"text","name":"家庭月开销","content":""},"family_month_alimony":{"type":"text","name":"赡养金","content":""},"family_loan":{"type":"text","name":"待偿还贷款","content":""},"education_plan":{"type":"radio","value":[{"params":"domestic","name":"国内"},{"params":"foreign","name":"国外"},{"params":"no","name":"暂无计划"}],"name":"您的教育计划","content":"未成年的保障需涵盖医疗，意外，教育等多方面"}}}
     */

    public int code;
    public String tips;
    public String msg;
    public DataBean data;

    public static class DataBean {
        /**
         * report : {"step0":{"title":"您的家庭成员有（可多选）","form":["family_member"]},"step1":{"title":"您的基本信息","form":["gender","age"]},"step2":{"title":"您的职业收入","form":["career","personal_annual_income"]},"step3":{"title":"您的生活状态","form":["life_tag"]},"step4":{"title":"您的保障情况","form":["have_social_insurance","have_business_insurance","business_insurance_life","business_insurance_serious","business_insurance_accident","business_insurance_medical","business_insurance_pension","business_insurance_education"]},"step5":{"title":"您的家庭收支","form":["family_annual_income","family_month_spending","family_month_alimony","family_loan"]},"step6":{"title":"您的教育计划","form":["education_plan"]}}
         * condition : {"gender":{"type":"radio","value":[{"params":"male","name":"男"},{"params":"female","name":"女"}],"name":"您的性别","content":"男女分工和所承担责任不同，风险及压力有区别"},"age":{"type":"select","value":{"min":0,"max":120},"name":"您的年龄","content":"不同年龄面对的风险不同，投保策略要做区别"},"career":{"type":"select","value":[{"params":"1","name":"室内轻体力（如行政,管理人员）"},{"params":"2","name":"室内重体力（如程序员）"},{"params":"3","name":"户外简单工作（如，司机，导游等）"},{"params":"4","name":"户外复杂工作（如，工程师，建筑工人等）"},{"params":"5","name":"室内制造业（装修,流水线工人）"},{"params":"6","name":"个体工商户"},{"params":"7","name":"自由职业"},{"params":"8","name":"务农"},{"params":"9","name":"在校学生"},{"params":"10","name":"家庭主妇/男"},{"params":"11","name":"其他"}],"name":"您的职业","content":"不同职业风险不同"},"personal_annual_income":{"type":"text","name":"您的年收入（单位万元）","content":"根据收入进行保费支出及保障类型规划"},"life_tag":{"type":"checkbox","value":[{"params":"1","name":"经常出差"},{"params":"2","name":"忙于应酬"},{"params":"3","name":"过度加班"},{"params":"4","name":"久坐不动"},{"params":"5","name":"经常抽烟"},{"params":"6","name":"经常喝酒"},{"params":"7","name":"自驾出行"},{"params":"8","name":"喜欢旅游"},{"params":"9","name":"过度肥胖"}],"name":"您的生活标签（可多选）","content":"生活标签会影响您的风险指数"},"have_social_insurance":{"type":"radio","value":[{"params":"have","name":"有社保"},{"params":"no","name":"无社保"}],"name":"您的社会保险","content":""},"have_business_insurance":{"type":"radio","value":[{"params":"have","name":"有"},{"params":"no","name":"无"}],"name":"您的其他保险","content":"通过已有的保障来计算保障缺口"},"business_insurance_life":{"type":"text","name":"人寿保险保额","content":""},"business_insurance_serious":{"type":"text","name":"重疾保险保额","content":""},"business_insurance_accident":{"type":"text","name":"意外保险保额","content":""},"business_insurance_medical":{"type":"text","name":"医疗保险保额","content":""},"business_insurance_pension":{"type":"text","name":"养老保险保额","content":""},"business_insurance_education":{"type":"text","name":"教育金","content":""},"family_member":{"type":"checkbox","value":[{"params":"spouse","name":"配偶"},{"params":"child","name":"子女"},{"params":"father","name":"父亲"},{"params":"mother","name":"母亲"},{"params":"my","name":"本人"}],"name":"您的家庭成员","content":"投保是家庭行为，规划保险须将所有家庭成员视为一个整体，并考虑成员在家中扮演的角色"},"family_annual_income":{"type":"text","name":"家庭年收入","content":""},"family_month_spending":{"type":"text","name":"家庭月开销","content":""},"family_month_alimony":{"type":"text","name":"赡养金","content":""},"family_loan":{"type":"text","name":"待偿还贷款","content":""},"education_plan":{"type":"radio","value":[{"params":"domestic","name":"国内"},{"params":"foreign","name":"国外"},{"params":"no","name":"暂无计划"}],"name":"您的教育计划","content":"未成年的保障需涵盖医疗，意外，教育等多方面"}}
         */

        public ReportBean report;
        public ConditionBean condition;

        public static class ReportBean {
            /**
             * step0 : {"title":"您的家庭成员有（可多选）","form":["family_member"]}
             * step1 : {"title":"您的基本信息","form":["gender","age"]}
             * step2 : {"title":"您的职业收入","form":["career","personal_annual_income"]}
             * step3 : {"title":"您的生活状态","form":["life_tag"]}
             * step4 : {"title":"您的保障情况","form":["have_social_insurance","have_business_insurance","business_insurance_life","business_insurance_serious","business_insurance_accident","business_insurance_medical","business_insurance_pension","business_insurance_education"]}
             * step5 : {"title":"您的家庭收支","form":["family_annual_income","family_month_spending","family_month_alimony","family_loan"]}
             * step6 : {"title":"您的教育计划","form":["education_plan"]}
             */

            public Step0Bean step0;
            public Step1Bean step1;
            public Step2Bean step2;
            public Step3Bean step3;
            public Step4Bean step4;
            public Step5Bean step5;
            public Step6Bean step6;

            public static class Step0Bean {
                /**
                 * title : 您的家庭成员有（可多选）
                 * form : ["family_member"]
                 */

                public String title;
                public List<String> form;
            }

            public static class Step1Bean {
                /**
                 * title : 您的基本信息
                 * form : ["gender","age"]
                 */

                public String title;
                public List<String> form;
            }

            public static class Step2Bean {
                /**
                 * title : 您的职业收入
                 * form : ["career","personal_annual_income"]
                 */

                public String title;
                public List<String> form;
            }

            public static class Step3Bean {
                /**
                 * title : 您的生活状态
                 * form : ["life_tag"]
                 */

                public String title;
                public List<String> form;
            }

            public static class Step4Bean {
                /**
                 * title : 您的保障情况
                 * form : ["have_social_insurance","have_business_insurance","business_insurance_life","business_insurance_serious","business_insurance_accident","business_insurance_medical","business_insurance_pension","business_insurance_education"]
                 */

                public String title;
                public List<String> form;
            }

            public static class Step5Bean {
                /**
                 * title : 您的家庭收支
                 * form : ["family_annual_income","family_month_spending","family_month_alimony","family_loan"]
                 */

                public String title;
                public List<String> form;
            }

            public static class Step6Bean {
                /**
                 * title : 您的教育计划
                 * form : ["education_plan"]
                 */

                public String title;
                public List<String> form;
            }
        }

        public static class ConditionBean {
            /**
             * gender : {"type":"radio","value":[{"params":"male","name":"男"},{"params":"female","name":"女"}],"name":"您的性别","content":"男女分工和所承担责任不同，风险及压力有区别"}
             * age : {"type":"select","value":{"min":0,"max":120},"name":"您的年龄","content":"不同年龄面对的风险不同，投保策略要做区别"}
             * career : {"type":"select","value":[{"params":"1","name":"室内轻体力（如行政,管理人员）"},{"params":"2","name":"室内重体力（如程序员）"},{"params":"3","name":"户外简单工作（如，司机，导游等）"},{"params":"4","name":"户外复杂工作（如，工程师，建筑工人等）"},{"params":"5","name":"室内制造业（装修,流水线工人）"},{"params":"6","name":"个体工商户"},{"params":"7","name":"自由职业"},{"params":"8","name":"务农"},{"params":"9","name":"在校学生"},{"params":"10","name":"家庭主妇/男"},{"params":"11","name":"其他"}],"name":"您的职业","content":"不同职业风险不同"}
             * personal_annual_income : {"type":"text","name":"您的年收入（单位万元）","content":"根据收入进行保费支出及保障类型规划"}
             * life_tag : {"type":"checkbox","value":[{"params":"1","name":"经常出差"},{"params":"2","name":"忙于应酬"},{"params":"3","name":"过度加班"},{"params":"4","name":"久坐不动"},{"params":"5","name":"经常抽烟"},{"params":"6","name":"经常喝酒"},{"params":"7","name":"自驾出行"},{"params":"8","name":"喜欢旅游"},{"params":"9","name":"过度肥胖"}],"name":"您的生活标签（可多选）","content":"生活标签会影响您的风险指数"}
             * have_social_insurance : {"type":"radio","value":[{"params":"have","name":"有社保"},{"params":"no","name":"无社保"}],"name":"您的社会保险","content":""}
             * have_business_insurance : {"type":"radio","value":[{"params":"have","name":"有"},{"params":"no","name":"无"}],"name":"您的其他保险","content":"通过已有的保障来计算保障缺口"}
             * business_insurance_life : {"type":"text","name":"人寿保险保额","content":""}
             * business_insurance_serious : {"type":"text","name":"重疾保险保额","content":""}
             * business_insurance_accident : {"type":"text","name":"意外保险保额","content":""}
             * business_insurance_medical : {"type":"text","name":"医疗保险保额","content":""}
             * business_insurance_pension : {"type":"text","name":"养老保险保额","content":""}
             * business_insurance_education : {"type":"text","name":"教育金","content":""}
             * family_member : {"type":"checkbox","value":[{"params":"spouse","name":"配偶"},{"params":"child","name":"子女"},{"params":"father","name":"父亲"},{"params":"mother","name":"母亲"},{"params":"my","name":"本人"}],"name":"您的家庭成员","content":"投保是家庭行为，规划保险须将所有家庭成员视为一个整体，并考虑成员在家中扮演的角色"}
             * family_annual_income : {"type":"text","name":"家庭年收入","content":""}
             * family_month_spending : {"type":"text","name":"家庭月开销","content":""}
             * family_month_alimony : {"type":"text","name":"赡养金","content":""}
             * family_loan : {"type":"text","name":"待偿还贷款","content":""}
             * education_plan : {"type":"radio","value":[{"params":"domestic","name":"国内"},{"params":"foreign","name":"国外"},{"params":"no","name":"暂无计划"}],"name":"您的教育计划","content":"未成年的保障需涵盖医疗，意外，教育等多方面"}
             */

            public GenderBean gender;
            public AgeBean age;
            public CareerBean career;
            public AgeBean personal_annual_income;
            public LifeTagBean life_tag;
            public HaveSocialInsuranceBean have_social_insurance;
            public HaveBusinessInsuranceBean have_business_insurance;
            public HaveBusinessInsuranceBean business_insurance_life;
            public HaveBusinessInsuranceBean business_insurance_serious;
            public HaveBusinessInsuranceBean business_insurance_accident;
            public HaveBusinessInsuranceBean business_insurance_medical;
            public HaveBusinessInsuranceBean business_insurance_pension;
            public HaveBusinessInsuranceBean business_insurance_education;
            public FamilyMemberBean family_member;
            public HaveBusinessInsuranceBean family_annual_income;
            public HaveBusinessInsuranceBean family_month_spending;
            public HaveBusinessInsuranceBean family_month_alimony;
            public HaveBusinessInsuranceBean family_loan;
            public EducationPlanBean education_plan;

            public static class GenderBean {
                /**
                 * type : radio
                 * value : [{"params":"male","name":"男"},{"params":"female","name":"女"}]
                 * name : 您的性别
                 * content : 男女分工和所承担责任不同，风险及压力有区别
                 */

                public String type;
                public String name;
                public String content;
                public List<ValueBean> value;


            }

            public static class AgeBean {
                /**
                 * type : select
                 * value : {"min":0,"max":120}
                 * name : 您的年龄
                 * content : 不同年龄面对的风险不同，投保策略要做区别
                 */

                public String type;
                public ValueBeanX value;
                public String name;
                public String content;

                public static class ValueBeanX {
                    /**
                     * min : 0
                     * max : 120
                     */

                    public int min;
                    public int max;
                }
            }

            public static class CareerBean {
                /**
                 * type : select
                 * value : [{"params":"1","name":"室内轻体力（如行政,管理人员）"},{"params":"2","name":"室内重体力（如程序员）"},{"params":"3","name":"户外简单工作（如，司机，导游等）"},{"params":"4","name":"户外复杂工作（如，工程师，建筑工人等）"},{"params":"5","name":"室内制造业（装修,流水线工人）"},{"params":"6","name":"个体工商户"},{"params":"7","name":"自由职业"},{"params":"8","name":"务农"},{"params":"9","name":"在校学生"},{"params":"10","name":"家庭主妇/男"},{"params":"11","name":"其他"}]
                 * name : 您的职业
                 * content : 不同职业风险不同
                 */

                public String type;
                public String name;
                public String content;
                public List<ValueBean> value;
            }

            public static class LifeTagBean {
                /**
                 * type : checkbox
                 * value : [{"params":"1","name":"经常出差"},{"params":"2","name":"忙于应酬"},{"params":"3","name":"过度加班"},{"params":"4","name":"久坐不动"},{"params":"5","name":"经常抽烟"},{"params":"6","name":"经常喝酒"},{"params":"7","name":"自驾出行"},{"params":"8","name":"喜欢旅游"},{"params":"9","name":"过度肥胖"}]
                 * name : 您的生活标签（可多选）
                 * content : 生活标签会影响您的风险指数
                 */

                public String type;
                public String name;
                public String content;
                public List<ValueBean> value;
            }

            public static class HaveSocialInsuranceBean {
                /**
                 * type : radio
                 * value : [{"params":"have","name":"有社保"},{"params":"no","name":"无社保"}]
                 * name : 您的社会保险
                 * content :
                 */

                public String type;
                public String name;
                public String content;
                public List<ValueBean> value;
            }

            public static class HaveBusinessInsuranceBean {
                /**
                 * type : radio
                 * value : [{"params":"have","name":"有"},{"params":"no","name":"无"}]
                 * name : 您的其他保险
                 * content : 通过已有的保障来计算保障缺口
                 */

                public String type;
                public String name;
                public String content;
                public List<ValueBean> value;
            }

            public static class FamilyMemberBean {
                /**
                 * type : checkbox
                 * value : [{"params":"spouse","name":"配偶"},{"params":"child","name":"子女"},{"params":"father","name":"父亲"},{"params":"mother","name":"母亲"},{"params":"my","name":"本人"}]
                 * name : 您的家庭成员
                 * content : 投保是家庭行为，规划保险须将所有家庭成员视为一个整体，并考虑成员在家中扮演的角色
                 */

                public String type;
                public String name;
                public String content;
                public List<ValueBean> value;
            }

            public static class EducationPlanBean {
                /**
                 * type : radio
                 * value : [{"params":"domestic","name":"国内"},{"params":"foreign","name":"国外"},{"params":"no","name":"暂无计划"}]
                 * name : 您的教育计划
                 * content : 未成年的保障需涵盖医疗，意外，教育等多方面
                 */

                public String type;
                public String name;
                public String content;
                public List<ValueBean> value;
            }
        }
    }

    public static class ValueBean {
        /**
         * params : male
         * name : 男
         */

        public String id;
        public String name;
        boolean checked;
    }
}
